package com.smartown.android

import android.os.Bundle
import android.view.View
import win.smartown.android.R
import win.smartown.android.base.SuperActivity
import win.smartown.android.utils.JumpUtil

/**
 * Created by smartown on 2017/6/9.
 */
class SplashActivity : SuperActivity(), View.OnClickListener {

    override fun onClick(v: View?) {
        when (v!!.id) {
            R.id.goMain -> JumpUtil.startActivity(this, MainActivity::class.java, "MainActivity")
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_splash)
        findViewById(R.id.goMain).setOnClickListener(this)
    }

}
